﻿using System.Data.Entity.ModelConfiguration;
using ZFine.Domain.Entity;

namespace Logic.Map.Project
{
    public class SendMembersInfosMap : EntityTypeConfiguration<SendMembersInfosEntity>
    {
        public SendMembersInfosMap()
        {
            this.ToTable("SendMembersInfos");
            this.HasKey(t => t.F_Id);
            Property(p => p.F_Id).HasMaxLength(50);
            Property(p => p.F_CreatorUserId).HasMaxLength(50);
            Property(p => p.F_LastModifyUserId).HasMaxLength(50);
            Property(p => p.F_DeleteUserId).HasMaxLength(50);
            Property(p => p.Title).HasMaxLength(100);
            Property(p => p.Content);
            Property(p => p.FromUserName).HasMaxLength(100);
            Property(p => p.SendUserName).HasMaxLength(100);
            Property(p => p.SendOfficeID).HasMaxLength(50);
        }
    }
}
